#pragma once
template <typename T>
class List;
template <typename T>
class List_iterator;

template <typename T>
class List_node {
private:
public:
	T data;
	List_node<T>* next;
	List_node<T>* privious;

	friend class List<T>;
	friend class List_iterator<T>;

	List_node() : data(),next(nullptr), privious(nullptr) {}
	List_node(T data_) :data(data_), next(nullptr), privious(nullptr) {}
};
